package com.vueblog.shiro;

import org.apache.shiro.SecurityUtils;

public class ShiroUtil {

    public static AccountInfo getAccountInfo() {
        return (AccountInfo)SecurityUtils.getSubject().getPrincipal();
    }

}
